package models.vo {
  
  	import mx.messaging.AbstractConsumer;
  	
  	import org.restfulx.models.RxModel;
  
  	[Resource(name="fotos")]
  
  	[Bindable]
  	public class Foto extends RxModel 
  	{
    	public static const LABEL		:	String	= "legenda";

    	public var legenda			  	:	String	= "";
    	public var imageFileName		:	String	= "";
    	public var imageContentType	:	String	= "";
    	public var imageFileSize		:	String	= "";
    	public var imageUpdatedAt		:	Date	  = new Date();
    	
    	[Ignored]
		public var url					      :	String	= "";
		
    	[Ignored]
		public var urlSmall				    :	String	= "";

    	[BelongsTo]
    	public var vistoria				  :	Vistoria;

		//////////////////////////////////////////////////////////////////////////////////////////////////////
		
    	public function Foto() 
    	{
      		super(LABEL);
    	}
  	}
}
